package org.september.pisces.led.entity;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsAutoIncrement;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsKey;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import org.september.smartdao.anno.AutoIncrease;
import org.september.smartdao.anno.Entity;
import org.september.smartdao.anno.Id;

/**
 * led节目
 */
@Entity
@Data
@Table(name = "led_area")
public class LedArea {

    @Id
    @AutoIncrease
    @IsKey
    @IsAutoIncrement
    @Column(value = "id", length = 20)
    private Long id;

    @Column(value = "plan_id", comment = "节目id", length = 20)
    private Long flashId;

    @Column(value = "width", comment = "宽度", length = 20)
    private Integer width;

    @Column(value = "height", comment = "高度", length = 20)
    private Integer height;

    @Column(value = "font_size", comment = "字体大小", length = 20)
    private Integer fontSize;

    @Column(value = "color", comment = "颜色", length = 32)
    private String color;

    @Column(value = "text_align", comment = "对齐方式", length = 32)
    private String textAlign;
    @Column(value = "content", comment = "对齐方式", length = 256)
    private String content;

}
